package org.br.erp.base.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.br.erp.base.entity.onlcgformfield;
import org.br.erp.base.entity.onlcgformhead;
import org.br.erp.base.mapper.onlcgformfieldMapper;
import org.br.erp.base.mapper.onlcgformheadMapper;
import org.br.erp.base.service.IOnlcgformHeadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OnlcgformHeadServiceImpl extends ServiceImpl<onlcgformheadMapper, onlcgformhead> implements IOnlcgformHeadService {

    @Autowired
    onlcgformfieldMapper onlcgformfieldMapper;
    @Override
    public List<onlcgformfield> getFieldOfHeadByHeadId(String headid) {
        List<onlcgformfield> selectfieldlist = onlcgformfieldMapper.selectfieldlist(headid);
        return selectfieldlist;
    }
}
